package com.unlcn.ils.kas.dao.model.order;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单在途跟踪日志
 * 
 * @author 罗必量
 * @since 2018-03-09
 */
@TableName("itf_order_otd_log")
public class OrderOtdLog extends Model<OrderOtdLog> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 接口调用开始时间
	 */
	@TableField("call_start_time")
	private Date callStartTime;
	/**
	 * 接口调用结束时间
	 */
	@TableField("call_end_time")
	private Date callEndTime;
	/**
	 * 接口地址
	 */
	@TableField("call_url")
	private String callUrl;
	/**
	 * 系统订单号
	 */
	@TableField("sys_order_no")
	private String sysOrderNo;
	/**
	 * 客户订单号
	 */
	@TableField("customer_order_no")
	private String customerOrderNo;
	/**
	 * 客户编号
	 */
	@TableField("customer_no")
	private String customerNo;
	/**
	 * 客户名称
	 */
	@TableField("customer_name")
	private String customerName;
	/**
	 * 订单日期
	 */
	@TableField("order_date")
	private Date orderDate;
	/**
	 * 车架号
	 */
	private String vin;
	/**
	 * 车型代码
	 */
	@TableField("style_code")
	private String styleCode;
	/**
	 * 车型名称
	 */
	@TableField("style_name")
	private String styleName;
	/**
	 * 经销商编号
	 */
	@TableField("dealer_no")
	private String dealerNo;
	/**
	 * 经销商名称
	 */
	@TableField("dealer_name")
	private String dealerName;
	/**
	 * 发车省
	 */
	@TableField("o_province")
	private String oProvince;
	/**
	 * 发车市
	 */
	@TableField("o_city")
	private String oCity;
	/**
	 * 发车地址
	 */
	@TableField("o_address")
	private String oAddress;
	/**
	 * 收车省
	 */
	@TableField("d_province")
	private String dProvince;
	/**
	 * 收车市
	 */
	@TableField("d_city")
	private String dCity;
	/**
	 * 收车地址
	 */
	@TableField("d_address")
	private String dAddress;
	/**
	 * 运输方式
	 */
	@TableField("transport_type")
	private String transportType;
	/**
	 * 提车时间
	 */
	@TableField("pick_time")
	private Date pickTime;
	/**
	 * 入中转库时间
	 */
	@TableField("inbound_time")
	private Date inboundTime;
	/**
	 * 安排运力时间
	 */
	@TableField("arrange_capacity_time")
	private Date arrangeCapacityTime;
	/**
	 * 入铁路库时间
	 */
	@TableField("enter_railway_time")
	private Date enterRailwayTime;
	/**
	 * 出中联库时间
	 */
	@TableField("outbound_time")
	private Date outboundTime;
	/**
	 * 装车时间
	 */
	@TableField("load_time")
	private Date loadTime;
	/**
	 * 离昌时间
	 */
	@TableField("leave_time")
	private Date leaveTime;
	/**
	 * 司机联系方式
	 */
	@TableField("driver_phone")
	private String driverPhone;
	/**
	 * 车牌号
	 */
	@TableField("license_plate")
	private String licensePlate;
	/**
	 * 运抵时间
	 */
	@TableField("shipto_time")
	private Date shiptoTime;
	/**
	 * 发运类型
	 */
	@TableField("shipment_type")
	private String shipmentType;
	/**
	 * 最新在途位置
	 */
	@TableField("newest_position")
	private String newestPosition;
	/**
	 * 最新在途时间
	 */
	@TableField("newest_time")
	private Date newestTime;
	/**
	 * 订单创建时间
	 */
	@TableField("order_create_time")
	private Date orderCreateTime;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建时间
	 */
	@TableField("gmt_create")
	private Date gmtCreate;
	/**
	 * 打单时间
	 */
	@TableField("printOrder_time")
	private Date printOrderTime;
	/**
	 * 回单时间
	 */
	@TableField("returnOrder_time")
	private Date returnOrderTime;
	/**
	 * 承运车队ID'
	 */
	@TableField("supplierid")
	private Integer supplierid;
	/**
	 * 承运车队名称
	 */
	@TableField("supplier")
	private String supplier;
	/**
	 * 挂起状态 0 正常 1 挂起
	 */
	@TableField("bsuspend")
	private Integer bsuspend;

	/**
	 * 运输方式编码
	 */
	@TableField("transport_type_code")
	private Integer transportTypeCode;

	/*
	 * @Description: 首次挂起时间
	 */
	@TableField(value = "suspend_time", strategy = FieldStrategy.IGNORED)
	private Date suspendTime;

	/*
	 * @Description: 末次解挂时间
	 */
	@TableField(value = "resume_time", strategy = FieldStrategy.IGNORED)
	private Date resumeTime;

	/*
	 * @Description: 挂起类型
	 */
	@TableField(value = "susp_type", strategy = FieldStrategy.IGNORED)
	private String suspType;

	/*
	 * @Description: 挂起说明
	 */
	@TableField("susp_memo")
	private String suspMemo;

	/**
	 * 临牌号
	 */
	@TableField("temp_license")
	private String tempLicense;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCallStartTime() {
		return callStartTime;
	}

	public void setCallStartTime(Date callStartTime) {
		this.callStartTime = callStartTime;
	}

	public Date getCallEndTime() {
		return callEndTime;
	}

	public void setCallEndTime(Date callEndTime) {
		this.callEndTime = callEndTime;
	}

	public String getCallUrl() {
		return callUrl;
	}

	public void setCallUrl(String callUrl) {
		this.callUrl = callUrl;
	}

	public String getSysOrderNo() {
		return sysOrderNo;
	}

	public void setSysOrderNo(String sysOrderNo) {
		this.sysOrderNo = sysOrderNo;
	}

	public String getCustomerOrderNo() {
		return customerOrderNo;
	}

	public void setCustomerOrderNo(String customerOrderNo) {
		this.customerOrderNo = customerOrderNo;
	}

	public String getCustomerNo() {
		return customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public String getStyleCode() {
		return styleCode;
	}

	public void setStyleCode(String styleCode) {
		this.styleCode = styleCode;
	}

	public String getStyleName() {
		return styleName;
	}

	public void setStyleName(String styleName) {
		this.styleName = styleName;
	}

	public String getDealerNo() {
		return dealerNo;
	}

	public void setDealerNo(String dealerNo) {
		this.dealerNo = dealerNo;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public String getoProvince() {
		return oProvince;
	}

	public void setoProvince(String oProvince) {
		this.oProvince = oProvince;
	}

	public String getoCity() {
		return oCity;
	}

	public void setoCity(String oCity) {
		this.oCity = oCity;
	}

	public String getoAddress() {
		return oAddress;
	}

	public void setoAddress(String oAddress) {
		this.oAddress = oAddress;
	}

	public String getdProvince() {
		return dProvince;
	}

	public void setdProvince(String dProvince) {
		this.dProvince = dProvince;
	}

	public String getdCity() {
		return dCity;
	}

	public void setdCity(String dCity) {
		this.dCity = dCity;
	}

	public String getdAddress() {
		return dAddress;
	}

	public void setdAddress(String dAddress) {
		this.dAddress = dAddress;
	}

	public String getTransportType() {
		return transportType;
	}

	public void setTransportType(String transportType) {
		this.transportType = transportType;
	}

	public Date getPickTime() {
		return pickTime;
	}

	public void setPickTime(Date pickTime) {
		this.pickTime = pickTime;
	}

	public Date getInboundTime() {
		return inboundTime;
	}

	public void setInboundTime(Date inboundTime) {
		this.inboundTime = inboundTime;
	}

	public Date getArrangeCapacityTime() {
		return arrangeCapacityTime;
	}

	public void setArrangeCapacityTime(Date arrangeCapacityTime) {
		this.arrangeCapacityTime = arrangeCapacityTime;
	}

	public Date getEnterRailwayTime() {
		return enterRailwayTime;
	}

	public void setEnterRailwayTime(Date enterRailwayTime) {
		this.enterRailwayTime = enterRailwayTime;
	}

	public Date getOutboundTime() {
		return outboundTime;
	}

	public void setOutboundTime(Date outboundTime) {
		this.outboundTime = outboundTime;
	}

	public Date getLoadTime() {
		return loadTime;
	}

	public void setLoadTime(Date loadTime) {
		this.loadTime = loadTime;
	}

	public Date getLeaveTime() {
		return leaveTime;
	}

	public void setLeaveTime(Date leaveTime) {
		this.leaveTime = leaveTime;
	}

	public String getDriverPhone() {
		return driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	public String getLicensePlate() {
		return licensePlate;
	}

	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}

	public Date getShiptoTime() {
		return shiptoTime;
	}

	public void setShiptoTime(Date shiptoTime) {
		this.shiptoTime = shiptoTime;
	}

	public String getShipmentType() {
		return shipmentType;
	}

	public void setShipmentType(String shipmentType) {
		this.shipmentType = shipmentType;
	}

	public String getNewestPosition() {
		return newestPosition;
	}

	public void setNewestPosition(String newestPosition) {
		this.newestPosition = newestPosition;
	}

	public Date getNewestTime() {
		return newestTime;
	}

	public void setNewestTime(Date newestTime) {
		this.newestTime = newestTime;
	}

	public Date getOrderCreateTime() {
		return orderCreateTime;
	}

	public void setOrderCreateTime(Date orderCreateTime) {
		this.orderCreateTime = orderCreateTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getPrintOrderTime() {
		return printOrderTime;
	}

	public void setPrintOrderTime(Date printOrderTime) {
		this.printOrderTime = printOrderTime;
	}

	public Date getReturnOrderTime() {
		return returnOrderTime;
	}

	public void setReturnOrderTime(Date returnOrderTime) {
		this.returnOrderTime = returnOrderTime;
	}

	public Integer getSupplierid() {
		return supplierid;
	}

	public void setSupplierid(Integer supplierid) {
		this.supplierid = supplierid;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public Integer getBsuspend() {
		return bsuspend;
	}

	public void setBsuspend(Integer bsuspend) {
		this.bsuspend = bsuspend;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public Integer getTransportTypeCode() {
		return transportTypeCode;
	}

	public void setTransportTypeCode(Integer transportTypeCode) {
		this.transportTypeCode = transportTypeCode;
	}

	public String getTempLicense() {
		return tempLicense;
	}

	public void setTempLicense(String tempLicense) {
		this.tempLicense = tempLicense;
	}

	public String getOProvince() {
		return this.oProvince;
	}

	public void setOProvince(String oProvince) {
		this.oProvince = oProvince;
	}

	public String getOCity() {
		return this.oCity;
	}

	public void setOCity(String oCity) {
		this.oCity = oCity;
	}

	public String getOAddress() {
		return this.oAddress;
	}

	public void setOAddress(String oAddress) {
		this.oAddress = oAddress;
	}

	public String getDProvince() {
		return this.dProvince;
	}

	public void setDProvince(String dProvince) {
		this.dProvince = dProvince;
	}

	public String getDCity() {
		return this.dCity;
	}

	public void setDCity(String dCity) {
		this.dCity = dCity;
	}

	public String getDAddress() {
		return this.dAddress;
	}

	public void setDAddress(String dAddress) {
		this.dAddress = dAddress;
	}

	public Date getSuspendTime() {
		return this.suspendTime;
	}

	public void setSuspendTime(Date suspendTime) {
		this.suspendTime = suspendTime;
	}

	public Date getResumeTime() {
		return this.resumeTime;
	}

	public void setResumeTime(Date resumeTime) {
		this.resumeTime = resumeTime;
	}

	public String getSuspType() {
		return this.suspType;
	}

	public void setSuspType(String suspType) {
		this.suspType = suspType;
	}

	public String getSuspMemo() {
		return this.suspMemo;
	}

	public void setSuspMemo(String suspMemo) {
		this.suspMemo = suspMemo;
	}

	@Override
	public String toString() {
		return "{" + " id='" + getId() + "'" + ", callStartTime='" + getCallStartTime() + "'" + ", callEndTime='"
				+ getCallEndTime() + "'" + ", callUrl='" + getCallUrl() + "'" + ", sysOrderNo='" + getSysOrderNo() + "'"
				+ ", customerOrderNo='" + getCustomerOrderNo() + "'" + ", customerNo='" + getCustomerNo() + "'"
				+ ", customerName='" + getCustomerName() + "'" + ", orderDate='" + getOrderDate() + "'" + ", vin='" + getVin()
				+ "'" + ", styleCode='" + getStyleCode() + "'" + ", styleName='" + getStyleName() + "'" + ", dealerNo='"
				+ getDealerNo() + "'" + ", dealerName='" + getDealerName() + "'" + ", oProvince='" + getOProvince() + "'"
				+ ", oCity='" + getOCity() + "'" + ", oAddress='" + getOAddress() + "'" + ", dProvince='" + getDProvince() + "'"
				+ ", dCity='" + getDCity() + "'" + ", dAddress='" + getDAddress() + "'" + ", transportType='"
				+ getTransportType() + "'" + ", pickTime='" + getPickTime() + "'" + ", inboundTime='" + getInboundTime() + "'"
				+ ", arrangeCapacityTime='" + getArrangeCapacityTime() + "'" + ", enterRailwayTime='" + getEnterRailwayTime()
				+ "'" + ", outboundTime='" + getOutboundTime() + "'" + ", loadTime='" + getLoadTime() + "'" + ", leaveTime='"
				+ getLeaveTime() + "'" + ", driverPhone='" + getDriverPhone() + "'" + ", licensePlate='" + getLicensePlate()
				+ "'" + ", shiptoTime='" + getShiptoTime() + "'" + ", shipmentType='" + getShipmentType() + "'"
				+ ", newestPosition='" + getNewestPosition() + "'" + ", newestTime='" + getNewestTime() + "'"
				+ ", orderCreateTime='" + getOrderCreateTime() + "'" + ", remark='" + getRemark() + "'" + ", gmtCreate='"
				+ getGmtCreate() + "'" + ", printOrderTime='" + getPrintOrderTime() + "'" + ", returnOrderTime='"
				+ getReturnOrderTime() + "'" + ", supplierid='" + getSupplierid() + "'" + ", supplier='" + getSupplier() + "'"
				+ ", bsuspend='" + getBsuspend() + "'" + ", transportTypeCode='" + getTransportTypeCode() + "'"
				+ ", suspendTime='" + getSuspendTime() + "'" + ", resumeTime='" + getResumeTime() + "'" + ", suspType='"
				+ getSuspType() + "'" + ", suspMemo='" + getSuspMemo() + "'" + ", tempLicense='" + getTempLicense() + "'" + "}";
	}


}
